button: Style .keyboard-activating on frameless buttons
authorChris Mayo <aklhfex@gmail.com>
Fri, 2 Apr 2021 18:24:51 +0000 (19:24 +0100)
committerChris Mayo <aklhfex@gmail.com>
Fri, 2 Apr 2021 18:24:51 +0000 (19:24 +0100)
The use of the keyboard-activating CSS class for buttons was added
in [1], but the style did not apply to buttons with has-frame=FALSE.

[1] 00923615f4 ("button: Add back visual feedback for keynav", 2021-04-01)

gtk/theme/Default/_common.scss

index 4c233f80a77d01d5e32b792af42601a2d115198b..9b44517af535af23d71989152066d6ba6d87254b 100644 (file)
@@ -544,6 +544,7 @@ button {
         transition: $button_transition;
         transition-duration: 500ms;
       }
+      &.keyboard-activating,
       &:active,
       &:checked {
         @include button(undecorated-active);